package com.patMall.service.impl;

import com.patMall.entity.Comment;
import com.patMall.entity.CommentImg;
import com.patMall.mapper.CommentImgMapper;
import com.patMall.service.CommentImgService;
import com.patMall.service.CommentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author 750909637@qq.com
 * @PackageName patMall
 * @Package com.patMall.service.impl
 * @Date 2024/2/18 10:42
 * @Version 1.0
 */
@Service
public class CommentImgServiceImpl implements CommentImgService {
    @Resource
    private CommentImgMapper commentImgMapper;
    @Override
    public int addCommentImg(CommentImg commentImg) {
        return commentImgMapper.insertCommentImg(commentImg);
    }
}
